{LAYOUT_CONTENT}
<div class="ui stackable  container">
<div class="ui breadcrumb">
	<a class="section">BUG统计</a>
	<i class="right arrow icon divider"></i>
	<a class="section">修改BUG</a>
	</div>
	<div class="ui error message">以下带有 <i class="asterisk red icon"></i> 均为必填项</div>
	<form class="ui grid form" action="{url('Bug/doEdit')}" method="post">
		<div class="sixteen wide field">
			<label>标题 <i class="asterisk red icon"></i></label> <input type="text" name="title" value="{$title}">
		</div>
		<div class="four wide field">
			<label>发现人  <i class="asterisk red icon"></i></label> <input type="text" name="finder" value="{$finder}">
		</div>
		<div class="three wide field">
			<label>级别  <i class="asterisk red icon"></i></label> <select class="ui dropdown" name="level">
				<option value="3" {if $level==3}selected{/if}>三级</option>
				<option value="2" {if $level==2}selected{/if}>二级</option>
				<option value="1" {if $level==1}selected{/if}>一级</option>
			</select>
		</div>		
		<div class="three wide field">
			<label>所属项目  <i class="asterisk red icon"></i></label> <select class="ui dropdown" name="project">
				<option value="微信" {if $level=='微信'}selected{/if}>微信</option>
				<option value="客房" {if $level=='客房'}selected{/if}>客房</option>
				<option value="餐饮" {if $level=='餐饮'}selected{/if}>餐饮</option>
			</select>
		</div>
		<div class="six wide field">
			<label>URL</label> <input type="text" name="url" value="{$url}">
		</div>
		<div class="sixteen wide field">
			<label>测试环境  <i class="asterisk red icon"></i></label>
			<textarea rows="3" name="scene">
{$scene}
</textarea>
		</div>
		<div class="sixteen wide field">
			<label>详情</label>
			<textarea id="content" name="description">{$description}</textarea>
		</div>
		
		<div class="sixteen wide field">
		<input type="hidden" name="id" value="{$id}" />
		<button class="ui primary submit button" type="submit">提交</button>
		</div>
		</form>
</div>

<!-- 配置文件 -->
<script type="text/javascript"
	src="__PUBLIC__/ueditor1_4_3-utf8-php/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript"
	src="__PUBLIC__/ueditor1_4_3-utf8-php/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
	var ue = UE.getEditor('content');
</script>
{/LAYOUT_CONTENT}
